package es.unileon.prg2.censo.handler;

/**
 * @author Manuel Molinos Crespo, Adrian Campazas Vega, Alberto Castro Delgado, Pedro Alvarez Alvarez, Adrian Cabello Galvan, Jose Alvaro Fernandez Alvarez
 *
 */

public interface Handler {
	
	/**
	 * Method used for converting to String the handler.
	 * @return String with the name of the handler
	 */
	String toString();
	
	/**
	 * Method used to compare this handler object with other handler object that you send for parameter.
	 * @param another Handler with the handler object that you want compare
	 * @return If the other Handler is equal this, return 0 else, return other number
	 */
	int compareTo (Handler another);
}
